<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href="css/style_question.css" type="text/css" rel="stylesheet" />	
<script language="javascript" type="text/javascript" src="js/validate.js"></script>
<title>Questionnaire No.3</title>
</head>
<body>
		<?php
		if($_POST['psp_total']!=0 and $_POST['psp_total']!=''){
		?>	
		<table border="0" width="800" id="table11" cellpadding="0" bgcolor="#FDF9EE">
		<tr>
			<td height="27" align="center" width="10%" bgcolor="#F7E6B7">
				<address>
					<font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">Taps / PSP</font>
				</address>
				<address>
		  <font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">Nos. </font></address>		  </td>
			<td height="27" align="center" width="9%" bgcolor="#F7E6B7">
				<font face="Verdana" style="font-size: 8.5pt" color="#990000">
				Location</font>			</td>
				<td width="10%" bgcolor="#F7E6B7" align="center"><font style="font-size: 8.5pt" face="Verdana" color="#990000">Longitude</font></td>
    <td width="11%" bgcolor="#F7E6B7" align="center"><font style="font-size: 8.5pt" face="Verdana" color="#990000">Latitude</font></td>
			<td height="27" align="center" width="17%" bgcolor="#F7E6B7">
				<address>
					<font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">Attached with</font></address>
				<address>
		  <font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">(GLR)</font></address>		  </td>
			<td height="27" align="center" width="20%" bgcolor="#F7E6B7">
				<address>
					<font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">Attached with CWT</font></address>
				<address>
		  <font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">(Cattle water trough)</font></address>		  </td>
		    <td align="center" width="23%" bgcolor="#F7E6B7"><font face="Verdana" style="font-size: 8.5pt" color="#990000">In SC/ST Basti</font></td>
		</tr>
		<?php
	$psp_total=$_POST['psp_total'];
	for($i=1; $i<=$psp_total; $i++)
	{
	?>		
		<tr>
			<td width="10%" align="center">
		  <input type="text" name="psp_taps<?php echo $i; ?>" id="psp_taps<?php echo $i;?>" size="18" class="txt5" onKeyUp="numeric(this)"></td>
			<td width="9%" align="center">
		  <input type="text" name="psp_loc<?php echo $i; ?>" id="psp_loc<?php echo $i;?>" size="18" class="txt5"></td>
		  <td width="10%" align="center">
	<input type="text" name="psp_longitude<?php echo $i;?>" id="psp_longitude<?php echo $i;?>" size="18" class="txt5" value="" onBlur="float1(this,67,80)"/>    </td>
    <td width="11%" align="center"><input type="text" name="psp_latitude<?php echo $i;?>" id="psp_latitude<?php echo $i;?>" size="18" class="txt5" value="" onBlur="float1(this,20,32)"/></td>
			<td width="17%" align="center">
				<font style="font-size: 8.5pt" face="Arial" color="#000000">
				<input type="radio" name="psp_glr<?php echo $i;?>" id="psp_glr<?php echo $i;?>" value="YES">Yes
	  	  <input type="radio" name="psp_glr<?php echo $i; ?>" id="psp_glr<?php echo $i;?>" value="NO" checked="checked">No</font></td>
			<td align="center">
				<font style="font-size: 8.5pt" face="Arial" color="#000000">
				<input type="radio" name="psp_cwt<?php echo $i;?>" id="psp_cwt<?php echo $i;?>" value="YES">Yes
		  	  <input type="radio" name="psp_cwt<?php echo $i;?>" id="psp_cwt<?php echo $i;?>" value="NO" checked="checked">No</font></td>
		    <td align="center"><font style="font-size: 8.5pt" face="Arial" color="#000000">
				<input type="radio" name="sc_st<?php echo $i;?>" id="sc_st<?php echo $i;?>" value="YES">Yes
		  	  <input type="radio" name="sc_st<?php echo $i;?>" id="sc_st<?php echo $i;?>" value="NO" checked="checked">No</font></td>
		  
		</tr>
		<tr>
		<td></td>
		<td></td>
		<td><div id="glr<?php echo $i;?>" class="hideme"> <table border="0" width="100%" id="table15" cellpadding="0">
								<tr>
									<td width="32%" align="center" bgcolor="#F7E6B7" colspan="2">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										Nos.</font>									</td>
									<td width="32%" align="center" bgcolor="#F7E6B7" rowspan="2">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										Location</font>									</td>
								</tr>
								<tr>
									<td width="32%" align="center" bgcolor="#F7E6B7">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										Total</font>									</td>
									<td width="32%" align="center" bgcolor="#F7E6B7">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										In SC / ST Bastis</font>									</td>
								</tr>
								<tr>
									<td width="13%" align="center">
										<input type="text" name="glr_total<?php echo $i; ?>" id="glr_total<?php echo $i; ?>"  size="20" class="txt5" onBlur="numeric(this)" >									</td>
									<td width="13%" align="center">
										<input type="text" name="glr_sc_st<?php echo $i; ?>" id="glr_sc_st<?php echo $i; ?>" size="20" class="txt5">																	 									</td>
										<td width="13%" align="center">
										<input type="text" name="glr_loc<?php echo $i; ?>" id="glr_loc<?php echo $i; ?>" size="20" class="txt5">																	 									</td>
								</tr>
						</table> </div></td>
		<td colspan="2"><div id="cwt<?php echo $i;?>" class="hideme"> <table border="0" width="100%" id="table15" cellpadding="0">
								<tr>
									<td width="32%" align="center" bgcolor="#F7E6B7" colspan="2">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										Nos.</font>									</td>
									<td width="32%" align="center" bgcolor="#F7E6B7" rowspan="2">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										Location</font>									</td>
								</tr>
								<tr>
									<td width="32%" align="center" bgcolor="#F7E6B7">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										Total</font>									</td>
									<td width="32%" align="center" bgcolor="#F7E6B7">
										<font style="font-size: 8.5pt" face="Verdana" color="#990000">
										In SC / ST Bastis</font>									</td>
								</tr>
								<tr>
									<td width="13%" align="center">
										<input type="text" name="cwt_total<?php echo $i; ?>" id="cwt_total<?php echo $i; ?>" size="20" class="txt5" onBlur="numeric(this)">									</td>
									<td width="13%" align="center">
										<input type="text" name="cwt_sc_st<?php echo $i; ?>" id="cwt_sc_st<?php echo $i; ?>" size="20" class="txt5">																	 									</td>
										<td width="13%" align="center">
										<input type="text" name="cwt_loc<?php echo $i; ?>" id="cwt_loc<?php echo $i; ?>" size="20" class="txt5">																	 									</td>
								</tr>
						</table></div></td>
		</tr>
		<?php 
		}
		?>	
		<input type="hidden" name="pspcount" id="pspcount" value="<?php echo $psp_total; ?>">
		</table>
		<?php }?>

</body>
		</html>